<% if flash[:message] %>
<div class="message"><%= flash[:message] %></div>
<% end %>
<% if flash[:warning] %>
<div class="warning"><%= flash[:warning] %></div>
<% end %>


<h2>Compiler Course Online Submission, 2010 Spring</h2>
<% form_tag ({:action => 'login'}) do %>

<label for="user_login">Login:</label><br/>
<!-- <%= select("user", "ident", @idents) %> -->
<%= text_field_with_auto_complete :user,:ident %><p>Your student id, e.g. SG09225011</p>
<br/>
<label for="user_login">Password:</label><br/>
<%= password_field 'user', 'pwd' %><p>Default password is your student id</p><br/>
<%= submit_tag "Login" %><br/>
<% end %>
<br/>
<h3 style="color:red"><a href="../images/ie-cookie.png">Please enable cookie of your browser</a></h3>
<br/>
<h3 style="color:red"><a href="../test_case.tar.gz">Test Case of Lab2 and Lab3</a></h3>
<h3 style="color:red"><a href="../test_case4.tar.gz">Test Case of Lab4</a></h3>
<h4>Any Problems? <%= mail_to "dyzz@mail.ustc.edu.cn","Contact Me"%></h4>


